home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / nms_124.zip / NETMENU.TXT < prev    next >
Text File  |  1992-03-28  |  23KB  |  463 lines

  1.                      NETMENU Installation and Configuration
  2.  
  3.  
  4.     Introduction
  5.  
  6.         NETMENU is an easy to use, network menu program.  It is designed to
  7.     run on any IBM PC or compatible computer running MS-DOS or PCDOS 3.x or
  8.     higher and works with most PC based network systems.
  9.  
  10.  
  11.     Features
  12.  
  13.     Designed specifically for network use.
  14.         NETMENU has the required file locking and multiple access to menu
  15.     files built in to the program.  There is no need to worry about being
  16.     locked out of a menu file because someone else has it open.
  17.  
  18.     Flexible configuration.
  19.         NETMENU has been designed so that menu files may be located
  20.     anywhere on the network.  This flexibility allows different sets of
  21.     menu files to be accessed by different groups of users.
  22.  
  23.     Minimal memory requirements.
  24.         When programs are executed from NETMENU, a 5K loader program is all
  25.     that is left in memory.  This allows even the largest programs to be
  26.     loaded from NETMENU.
  27.  
  28.     Unlimited number of menus.
  29.         Each menu has 26 menu items lettered A-Z.  Each menu item may
  30.     either invoke an external .COM, .EXE. or .BAT file, an internal DOS
  31.     command, or load another menu.  This design allows an unlimited number
  32.     of menus (limited only by disk space).
  33.  
  34.     Password protected menus and menu items.
  35.         Each menu and/or menu item may be protected by a password the
  36.     network administrator defines.  This will prevent unauthorized access
  37.     to programs and files that should only be available to certain users or
  38.     groups.
  39.  
  40.     Encrypted menus for security.
  41.         Each menu is encrypted to prevent users from learning the passwords
  42.     to protected programs or menus.
  43.  
  44.     Separate configuration program for security.
  45.         A separate configuration program (NMCONFIG) is supplied to prevent
  46.     access by unauthorized users.  The network administrator normally keeps
  47.     this program in a directory that only he has access to.
  48.  
  49.     Built-in screen blanker.
  50.         To prevent the image of the menu being burned into the screen
  51.     during long idle periods, NETMENU has been designed with a built-in
  52.     screen blanker.
  53.  
  54.     Built-in clock display.
  55.         NETMENU has an on-screen clock which is displayed in the upper
  56.     right corner of the screen.  In addition, the heading of the screen
  57.     displays the current day of the week and date.
  58.  
  59.     Mouse support.
  60.         Menu items may be selected by pointing to them with a mouse and
  61.     double clicking the left mouse button.  To back through the menus,
  62.     press the right mouse button.
  63.  
  64.     Customized menu heading.
  65.         Two fifty (50) character lines of text may be defined during
  66.     installation for display at the top of the menu.  You can enter your
  67.     organization's name and the name of your network here or any other text
  68.     you wish.
  69.  
  70.     Prompts the user for parameters.
  71.         Menu entries may be configured to prompt for user supplied
  72.     parameters to pass to the program that is to be run.
  73.  
  74.     Description of each menu item.
  75.         As the user moves through each menu item a one line description of
  76.     each item is displayed at the bottom of the menu.  This description can
  77.     give the user a better indication of the function of each menu item.
  78.  
  79.  
  80.     Installation
  81.  
  82.         This documentation will show the basics for installing and using
  83.     the software on a Novell NETWARE network.  Other network operating
  84.     systems are set up in a similar manner.
  85.  
  86.         Login as SUPERVISOR.  Copy NMSMENU.EXE to a shared directory on the
  87.     network, i.e., SYS:PUBLIC.  This directory should be read-only to
  88.     prevent unauthorized tampering with the files.  A drive mapping should
  89.     be set up pointing to this directory. We will use Z:\PUBLIC for the
  90.     purposes of this documentation.  Copy NMS_INST.EXE and ENCRYPT.EXE to a
  91.     directory that only the SUPERVISOR has rights to, i.e. SYS:SYSTEM.
  92.     Another drive mapping should point to this directory and should be a
  93.     search directory, that is, it should be included on the PATH.  From the
  94.     drive that points to the SYS:PUBLIC directory,(in this case Z:\PUBLIC)
  95.     execute the NMS_INST program to configure the title lines and create
  96.     NETMENU.COM.  By having the SYS:SYSTEM directory on the PATH and
  97.     executing the NMS_INST program from the Z:\PUBLIC directory, the
  98.     NETMENU.COM program will be generated in the proper place, namely the
  99.     Z:\PUBLIC directory.  This is the loader program for the NETMENU
  100.     system.
  101.  
  102.         Next, manually set the following environment variables:
  103.  
  104.          set MENUFILE=<drv:\pathname>
  105.          set MENUPROG=<drv:\pathname>
  106.          set MENUTEMP=<drv:\pathname>
  107.          set MSEDITOR=<drv:\path\editorname>
  108.  
  109.     MENUFILE points to the drive and directory where the menu files are
  110.     located, MENUPROG points to the drive and directory where the network
  111.     menu programs are located, in this case Z:\PUBLIC and MENUTEMP points
  112.     to the drive and directory where temporary files will be written as
  113.     well as the location of the NMCONFIG.EXE program for the administrator.
  114.     The network administrators MENUTEMP environment variable should point
  115.     to a directory that is only accessible by the network administrator.
  116.     The MSEDITOR variable points to the text editor that you would like to
  117.     use to create and edit batch files while in the configuration program.
  118.     If you don't want to edit files while in the configuration program,
  119.     leave this variable blank.
  120.  
  121.         As an example, if the network drive and directory where the menu
  122.     data files are located is S:\NETMENU and the drive and directory where
  123.     the menu programs are located is Z:\PUBLIC then the set statements
  124.     required would be:
  125.  
  126.          set MENUFILE=S:\NETMENU
  127.          set MENUPROG=Z:\PUBLIC
  128.  
  129.         In addition, each user and the network administrator should have a
  130.     network drive that has read-write access.  If this directory were
  131.     mapped as N:\ then the MENUTEMP variable would be set as follows:
  132.  
  133.          set MENUTEMP=N:
  134.  
  135.         The system administrator may add these variables to each user's
  136.     environment in the system login script.  This way you will be sure to
  137.     have the variables setup properly.  This also allows the administrator
  138.     to point different users or groups to a different sets of menu files
  139.     simply by changing an environment variable.  You may have to increase
  140.     the size of your environment to accommodate these additional variables.
  141.     This is done in your CONFIG.SYS file with a statement like this:
  142.  
  143.         (DOS 3.2 and later)
  144.             SHELL=C:\COMMAND.COM /E:512 /P
  145.  
  146.         (DOS 3.1)
  147.             SHELL=C:\COMMAND.COM /E:62 /P
  148.  
  149.     The first example increases the environment size from the default of
  150.     about 160 bytes to 512 bytes.  The second example increases the
  151.     environment to 62 paragraphs (16 bytes per paragraph).  This is the
  152.     maximum for DOS 3.1.  DOS 3.2 and above allow environments up to 32768
  153.     bytes.
  154.  
  155.         Laptop users or users with monochrome displays can increase the
  156.     readability of the menu screens by setting another DOS environment
  157.     variable. This is done like this:
  158.  
  159.          set MSDISP=MONO
  160.  
  161.     This will tell netmenu that you have a display that is not capable of
  162.     displaying colors and automatically adjust for this. Users with color
  163.     displays don't need to set this variable at all.
  164.  
  165.         After setting the required environment variables, the network
  166.     administrator must initially execute NMCONFIG from the DOS prompt.
  167.     This will create a blank menu file called MAIN.MNU.  THIS MUST BE DONE
  168.     BEFORE INITIALLY STARTING NETMENU.  The beginning menu file MUST BE
  169.     CALLED "MAIN.MNU" for the system to work properly. Additional menus
  170.     created by the system administrator may have any valid DOS filename.
  171.     Once the MAIN.MNU file has been created, press ESC to exit NMCONFIG and
  172.     then start the NETMENU system by typing NETMENU at the DOS prompt. If
  173.     the environment variables have been set correctly and the files copied
  174.     to the proper directories, the MAIN MENU will appear.
  175.  
  176.  
  177.     Files Included
  178.  
  179.         The ENCRYPT.EXE file encrypts and decrypts the menu data files.
  180.     This should only be used for debugging purposes.  The files must be
  181.     encrypted for use with the NMSMENU program.  Running the ENCRYPT
  182.     program with a menu filename on the command line initially will decrypt
  183.     the menu file.  Running it again will encrypt it.  The file may be
  184.     viewed or edited while it is in its decrypted state.
  185.  
  186.         The NMS_INST program is used to configure the heading lines and
  187.     create the NETMENU.COM program.  It is normally only run once during
  188.     the initial installation.
  189.  
  190.         NMCONFIG.EXE is the menu configuration program.  It must be located
  191.     in a directory accessible only by the network administrator to prevent
  192.     users from changing the menus.  This directory is pointed to by the
  193.     MENUTEMP environment variable.  In the example above, this would be the
  194.     network directory N:.
  195.  
  196.  
  197.     Theory and Operation
  198.  
  199.         The key to the operation of the system is the NETMENU loader
  200.     program. This program, first checks for the existence of the NMSMENU
  201.     program in the directory pointed to by the MENUPROG environment
  202.     variable. If it is not found the program will abort.  If found, the
  203.     program loads the NMSMENU program.  The NMSMENU program executes from a
  204.     shared directory on the network and reads menu data files from another
  205.     shared network directory. The user selects a menu item either by
  206.     scrolling the highlighted bar and pressing ENTER, double clicking the
  207.     left mouse button when the mouse cursor is on the desired item or by
  208.     pressing the letter beside the desired item. From the menu information
  209.     in memory, the program determines if the selection is another menu or a
  210.     command to be executed.  If it is another menu, the menu information is
  211.     loaded from the network file server.  If it is a command, a batch file
  212.     is built and written to the directory pointed to by the MENUTEMP
  213.     environment variable. After the batch file is written, the NMSMENU
  214.     program ends and is removed from memory.  The NETMENU loader program
  215.     then takes over, executing the batch file that was just created. When
  216.     the batch file completes, control is again returned to the NETMENU
  217.     program which will then reload the NMSMENU program and begin the cycle
  218.     all over.  Two temporary files are generated when executing a menu
  219.     selection. These files are $$MENU$$.BAT which contains the commands to
  220.     execute the menu item and $RETURN$.FIL which instructs NMSMENU which
  221.     menu file to load so that it will return to the menu that was loaded
  222.     when the external program was run.  Another temporary file is generated
  223.     when the program is directed to pause after execution.  This file,
  224.     $PAUSE$.BAT, is created by NMSMENU and executed from the NETMENU loader
  225.     program. The existence of these files is usually transparent to the
  226.     user as the system deletes these files after they have been used.
  227.     Under certain circumstances, i.e. the user's system hangs while running
  228.     a program loaded with NETMENU, these files will be left in the
  229.     directory pointed to by the MENUTEMP environment variable.  If these
  230.     files are found in this directory they may be deleted without harm.  If
  231.     they are not deleted, the system will delete them automatically.
  232.  
  233.  
  234.     Menu Navigation
  235.  
  236.         Navigation through the menus is simple and intuitive.  The desired
  237.     menu item is highlighted by moving the highlighted bar with the arrow
  238.     cursor keys or single clicking the left mouse button on the desired
  239.     item.  To select the item the user presses the ENTER key or may double
  240.     click the left mouse button when the mouse cursor is on the desired
  241.     menu item.  Each lower level menu is loaded in this way.  If it is
  242.     desired to go to the previous menu, the user must press ESCAPE or the
  243.     right mouse button. If the user wishes to return directly to the Main
  244.     Menu they should press Alt-M.  Alt-X will exit NETMENU immediately,
  245.     returning the user to the DOS prompt.  Alt-D allows the user to
  246.     temporarily exit to DOS to perform commands from the DOS prompt.  They
  247.     should type EXIT to return to NETMENU.  Additionally, the options shown
  248.     on the bottom line may be selected by double clicking the mouse on the
  249.     area between the brackets ([  ]).  Experimentation will give the user a
  250.     better feel for the way the menus are navigated.
  251.  
  252.  
  253.     Menu Configuration
  254.  
  255.         The NMCONFIG program may be loaded from within NETMENU by pressing
  256.     ALT-C or double clicking the left mouse button on the symbol in the
  257.     upper left corner of the menu screen.  Remember, the NMCONFIG program
  258.     should be located in a directory that only the system administrator has
  259.     access to and this directory must be pointed to by the MENUTEMP
  260.     environment variable.
  261.  
  262.         Once the configuration program loads, you may begin setting up the
  263.     menus.  Pick the menu item you wish to configure by pressing the menu
  264.     letter, using the cursor keys to position the highlighted bar and
  265.     pressing ENTER, or by double clicking the left mouse button on the item
  266.     you wish to configure.  Another screen will be displayed that will
  267.     allow you to configure this menu item.
  268.  
  269.         Pressing "E" will allow you to edit this item, "D" will delete it
  270.     and "ESC" will take you back to the menu screen.  Press "E" to edit.
  271.  
  272.         The first item on the screen is the MENU ENTRY.  This is the text
  273.     that will be displayed in the menu for this item.  The next entry is
  274.     the DESCRIPTION. This text appears at the bottom of the screen when
  275.     using the cursor keys to scroll through the items.  This should be a
  276.     brief description of the menu item.
  277.  
  278.         Next is the PATH\DIRECTORY specification.  This field is used to
  279.     specify the disk drive and directory where the command is located.  If
  280.     you want to call another menu using this menu item, enter "[menu]" in
  281.     this field (without the double quotation marks). The word "menu" must
  282.     be in lower case, enclosed by brackets.  If you enter a path for the
  283.     command, the batch file that is generated first will change to the disk
  284.     specified and then to the directory specified.  For example, if you
  285.     enter Y:\UT for this entry the following commands are generated in the
  286.     batch file:
  287.  
  288.             Y:
  289.             CD \UT
  290.  
  291.     Be sure not to include a trailing backlash when entering a path \
  292.     directory, unless the directory you are entering is the root directory.
  293.     For instance, if your command to execute is in the root directory of Y:
  294.     then you should enter Y:\.  This will generate the following commands
  295.     in the temporary batch file:
  296.  
  297.            Y:
  298.            CD \
  299.  
  300.         The COMMAND field is used to specify the name of the program you
  301.     wish to execute. This may either be a .COM, .EXE, or a .BAT file.  If
  302.     you entered "[menu]" for the PATH\DIRECTORY field, the COMMAND field is
  303.     used to specify the name of the menu file you wish to call.  This may
  304.     be any valid DOS filename, but it is suggested that the .MNU extension
  305.     be used to easily differentiate the menu files from other files. If the
  306.     directory field is not "[menu]" then the program will search for a
  307.     .COM, .EXE, or .BAT file with the name specified in the COMMAND field
  308.     in the directory specified in the PATH\DIRECTORY field. If one is not
  309.     found, the configuration program will ask if you want to create a batch
  310.     file by that name in the specified directory. If a batch file with that
  311.     name is found the program will ask if you want to edit it. This is
  312.     where the MSEDITOR variable comes into play. If you have set this
  313.     variable properly, NMCONFIG will shell out to your editor and allow you
  314.     to either create or edit the batch file. If you don't set the variable,
  315.     or a .COM or .EXE file is found in the specified directory, the program
  316.     will not prompt you.
  317.  
  318.         As indicated by its name, the PAUSE AFTER EXECUTION field allows
  319.     the results of the executed file to remain displayed on the screen
  320.     before returning to the menu.  This field is used to allow the results
  321.     of a program that normally returns to DOS to remain displayed. You may
  322.     press ENTER to supply the default answer of "N" or type "N" or "Y".
  323.  
  324.         The next entry, PROMPT FOR PARAMETERS, allows you to specify if you
  325.     want to supply command line parameters to the program you will be
  326.     executing.  As in the previous item, pressing ENTER will supply the
  327.     default answer of "N", or you may type "Y" or "N". If "Y" is entered
  328.     the next field to complete is the PROMPT TEXT field.  This field is
  329.     used to prompt the user for the information to supply on the command
  330.     line. For example, if a filename is required to be entered on the
  331.     command line for a program that searches for the file on your hard disk
  332.     you might enter a prompt like this:
  333.  
  334.         Enter the filename to search for:
  335.  
  336.     Whenever this menu item is selected the user will be prompted to enter
  337.     a filename.
  338.  
  339.         If "[menu]" was entered for the PATH/DIRECTORY field and a DOS
  340.     filename was entered for the COMMAND field, configuration will continue
  341.     at the PASSWORD field.  This field is used to protect either commands
  342.     or menus that only specific people are allowed to access.  Press ENTER
  343.     to leave the password blank or enter a password.  When this field is
  344.     completed, you will be asked if what you entered is correct.  If you
  345.     answer "Y" the menu screen will re-appear, otherwise you will be given
  346.     another chance to edit your entries.  After returning to the menu
  347.     screen you may continue configuring menu items on this menu, load
  348.     another menu, or return to the menu program.
  349.  
  350.         Loading another menu is a simple process.  Highlight the desired
  351.     menu item using either the cursor keys or SINGLE clicking the left
  352.     mouse button on the item.  When the desired item is highlighted, press
  353.     F1 to load the menu file that is specified.  The system will attempt to
  354.     load the filename that is described in the COMMAND field for this menu
  355.     item.  If the file does not exist, it will prompt you for its creation.
  356.     If the item pointed to does not describe a new menu file, an error
  357.     message will be displayed alerting you that the item is not a menu.
  358.  
  359.  
  360.     That's All Folks
  361.  
  362.         That's about all there is to it.  However, if you have any
  363.     questions about configuration or comments about the program in general,
  364.     I can be reached via U.S. Mail at the following address:
  365.  
  366.             Steve Burns
  367.             19706 E. 14th Terrace North
  368.             Independence, Missouri  64056
  369.  
  370.  
  371.     License Information
  372.  
  373.     Agreement
  374.  
  375.         The NETMENU Network Menu System and all of its associated files are
  376.     the copyrighted property of Steven R. Burns and Computer Consulting
  377.     Services.  You are granted a limited license to use, copy, and
  378.     distribute NETMENU provided the following conditions are met:
  379.  
  380.         No fee above $10.00 may be charged for copying and distribution.
  381.     NETMENU may only be distributed in its original unmodified state.
  382.  
  383.         This software is distributed under the user supported software
  384.     concept. Though NETMENU is copyrighted, you are encouraged to copy and
  385.     distribute this program to others.  If you use this product, a
  386.     registration fee of $50.00 for each file server on which it is
  387.     installed is required for continued use.  Network, Site, and Corporate
  388.     licenses are available.  See the registration and order form elsewhere
  389.     in this manual. All registered users receive technical support and
  390.     upgrade notices.  Call or write for information about commercial
  391.     distribution and dealer licenses.  In addition, registered users will
  392.     receive at no additional charge, a site license for PCMENU.  PCMENU has
  393.     the same interface as NETMENU, but runs on individual PC's.  This
  394.     allows users to access programs on their own PC's with the same
  395.     interface as NETMENU. By making one entry in their local menu they can
  396.     access the network menus through NETMENU.
  397.  
  398.  
  399.     Disclaimer
  400.  
  401.         The author makes no representations or warranties with respect to
  402.     the contents hereof and specifically disclaims any implied warranties
  403.     of merchantability or fitness for any particular purpose.  Further, the
  404.     author reserves the right to revise this publication and to make
  405.     changes from time to time in the content hereof without obligation of
  406.     the author to notify any person or organization of such revision or
  407.     changes.
  408.  
  409.  
  410.     User Supported Software Concept
  411.  
  412.         NETMENU is user supported.  This means that you may copy it freely
  413.     and give the copies away to anyone you wish.  They are in turn
  414.     requested to send in a contribution if they decide to use it.
  415.  
  416.         The user supported software concept (also known as "shareware") is
  417.     an attempt to provide quality software at low cost.  Both the user and
  418.     author benefit from this plan. The user will benefit by being able to
  419.     "test drive" software thoroughly before purchasing it.  The author
  420.     benefits by being able to enter the commercial software market while
  421.     avoiding the high cost of commercial distribution.
  422.  
  423.         This concept helps many independent authors and small companies
  424.     that otherwise would be discouraged from developing and promoting their
  425.     ideas. It can only work with your support.  If you obtain a user
  426.     supported program from a friend and are still using it after a few
  427.     weeks, then it is obviously worth something to you, and a contribution
  428.     should be sent.   Registration Form
  429.  
  430.     Send to:    Steven R. Burns
  431.                 19706 E. 14th Terrace North
  432.                 Independence, Missouri  64056
  433.  
  434.     Network License fee for unlimited usage per server . . . . . . . $50.00
  435.  
  436.     Site Licenses and Corporate Licenses are available.  Contact me at the
  437.     address above for prices.
  438.  
  439.  
  440.             Name _____________________________________________
  441.  
  442.             Company __________________________________________
  443.  
  444.             Address __________________________________________
  445.  
  446.             City, State, Zip _________________________________
  447.  
  448.             Phone ____________________________________________
  449.  
  450.                 3.5" disks _____        5.25" disks _____
  451.  
  452.  
  453.     Where did you hear about NETMENU
  454.  
  455.     ______________________________________________________________________
  456.  
  457.     ______________________________________________________________________
  458.  
  459.  
  460.     Please make checks payable from U.S. banks.
  461.  
  462.  
  463.